package common.util;

import java.util.Calendar;
import java.util.TimeZone;

public class DateTimeUtil
{
	public static String getToday()
	{
		Calendar calendar = Calendar.getInstance();
		calendar.setTimeZone(TimeZone.getTimeZone("GMT"));

		int year = calendar.get(Calendar.YEAR);
		int month = calendar.get(Calendar.MONTH);
		int day = calendar.get(Calendar.DAY_OF_MONTH);

		String today=String.format("%d-%d-%d",year,month+1,day);
		return today;
	}
}
